package com.bw.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.bw.domain.TraceTransport;
import com.bw.service.TraceTransportService;
import com.bw.mapper.TraceTransportMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author xingsai
* @description 针对表【trace_transport】的数据库操作Service实现
* @createDate 2023-08-25 14:59:52
*/
@Service
public class TraceTransportServiceImpl extends ServiceImpl<TraceTransportMapper, TraceTransport>
    implements TraceTransportService{
    @Autowired
    TraceTransportMapper traceTransportMapper;



    @Override
    public void updateStatus(Integer id) {
        traceTransportMapper.updateStatus(id);
    }

    @Override
    public IPage<TraceTransport> listReatil(Page page, String cropsId, String cropsName) {
        return traceTransportMapper.listReatil(page,cropsId,cropsName);
    }
}




